<?php
/**
 * Created by PhpStorm.
 * User: iceberg
 * Date: 2018-10-21
 * Time: 21:21
 */

/**
 * 排除不需要验证是否登录的控制器
 */
return [
    //RBAC权限数据信息
    //角色数组
    'RBAC_ROLES'   =>  array(
        1   => '超级管理员',
        101 => '普通管理员',
    ),
    //订单状态
    'ORDER_STATUS'  =>  array(
        -1  =>  '全部',
        0   =>  '作废',
        1   =>  '预采购',
        2   =>  '已采购',
        3   =>  '已出库',
    ),
    //权限数组(关联角色数组)
    'RBAC_ROLE_AUTHS'       =>  array(
        1    => '*/*',//拥有全部的权限
        101  => array(
            'work/inorder/*',
            'work/outorder/*',
            'work/goods/*',
            'base/index/index',
            'system/sign/logout',
            'system/sign/pwreset',
            ),
    ),
    //免验证action
    'OTHER' =>[
        'system/sign/login',
        'system/sign/check',
    ],

];